// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;

.file-types-container {
  max-width: 300px !important;

  .filetype-segment {
    .filetype-header {
      width: 85%;

      h3 {
        margin-bottom: 0;
        display: flex;

        .name {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
    }

    .file-extensions {
      font-style: italic;
      color: $gray;
      margin: 0.2em 0;
      padding: 0;

      li {
        display: inline;
      }

      li:not(:last-child)::after {
        content: ', ';
      }
    }
  }
}
